#ifndef _CANARY2_CORO_FINAL_AW_H_
#define _CANARY2_CORO_FINAL_AW_H_

#include <coroutine>

namespace wilson::coro
{
    struct final_aw
    {
        constexpr bool await_ready() const noexcept { return false; }
        void await_suspend(::std::coroutine_handle<> h) noexcept
        {
            h.destroy();
        }
        constexpr void await_resume() const noexcept {}
    };
}

#endif
